package org.dromara.business.domain.vo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import org.dromara.business.domain.Audit;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 提现审核视图对象 audit
 *
 * @author zlj
 * @date 2024-08-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Audit.class)
public class AuditVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long auditId;

    /**
     * 提现金额
     */
    @ExcelProperty(value = "提现金额")
    private BigDecimal balance;

    /**
     * 审核状态（0待审核 1已通过 2已拒绝）
     */
    @ExcelProperty(value = "审核状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=待审核,1=已通过,2=已拒绝")
    private String status;

    /**
     * 拒绝原因
     */
    @ExcelProperty(value = "拒绝原因")
    private String reason;

    /**
     * 支付宝收款账号
     */
    @ExcelProperty(value = "支付宝收款账号")
    private String alipay;


    private Long createBy;
    // 提现人名称
    @TableField(exist = false)
    private String name;

    // 提现人名称
    @TableField(exist = false)
    private String city;
    private Date createTime;


}
